-- GENERATED SPELL FOR [Eredar Sorcerer] --


function spell0_25033(pUnit, Event) --@Flames of Doom,n/a--
pUnit:FullCastSpellOnTarget(45046,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25033', 10000, 1)
end

function Sorts_25033(pUnit, Event)
local choix_sorts_25033 = math.random(0, 0)
if choix_sorts_25033 == 0 then
pUnit:RegisterEvent('spell0_25033', 1, 1)
end
end

function mob25033_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25033', math.random(1500, 3000), 1)
end

function mob25033_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25033_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25033_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25033, 1, 'mob25033_Action')
RegisterUnitEvent(25033, 2, 'mob25033_Leave')
RegisterUnitEvent(25033, 3, 'mob25033_Kill')
RegisterUnitEvent(25033, 4, 'mob25033_Die')
